package com.guli.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.mall.member.entity.MemberReceiveAddressEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 会员收货地址
 *
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-10-18 18:44:16
 */
public interface MemberReceiveAddressService extends IService<MemberReceiveAddressEntity> {

    PageUtils<MemberReceiveAddressEntity> queryPage(Integer currentPage, Integer size, Map<String, Object> params);

    List<MemberReceiveAddressEntity> getMemberReceiveAddressByMemberId(Long memberId);

    MemberReceiveAddressEntity calculateCarriage(Long memberReceiveAddressId);
}

